var app = getApp()
Page({
  data: {
    userInfo: {},
    truename: "",
    driverService: {
      reject: "0%",
      ontime: "100%",
      complaint: "0%",
      service: "10"
    }
  },
  onShareAppMessage: function () {
    return {
      title: app.appName,
      path: '/pages/index/index'
    }
  },
  onLoad: function (e) {
    wx.setNavigationBarTitle({ "title": app.appName +"--车队事务管理端" });
    var that = this;
  },
  gotoHome: function () {
    wx.redirectTo({
      url: '/pages/schedule/schedule'
    })
  },
  gotoPathNew: function () {
    wx.redirectTo({
      url: '/pages/index/deliveryForm?delivery=true'
    })
  },
  gotoPath: function () {
    wx.redirectTo({
      url: '/pages/schedule/deliveryPath'
    })
  },
  gotoInfo: function () {
    wx.redirectTo({
      url: '/pages/schedule/fleetInfo'
    })
  }
})
